package com.woniu.rear.comm.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
   *   系统公共异常类
 * @author liwei
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RearException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private Integer code;
	
	public RearException(Integer code,String msg) {
		super(msg);
		this.code = code;
	}

}
